import express from 'express';
import loggerMiddleware from './logger.js';
const app = express()
app.use(loggerMiddleware)
app.get('/test', (req, res) => {
  console.log(req.query)
  res.send('hello world')
});

app.listen(8080, () => console.log('Listening on port 3000'))
